
.diy-phone {
    margin: 0 auto;
    width: 320px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 40px;
    background: #fff;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 0 10px #ccc;
}
.diy-phone .phone-head {
    height: 44px;
    background: #f4f4f4;
    position: relative;
    border-bottom: 1px solid #ccc;
}

.diy-phone .phone-head:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 140px;
    height: 8px;
    width: 50px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.diy-phone .phone-main {
    height: 520px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.diy-phone .phone-foot {
    height: 50px;
    border-top: 1px solid #ccc;
}
ul{
    list-style: none;
    padding: 0;
}

/* 拖动 */
.drag{
    position: relative;
    width: 100%;
}
.selected:before, .drag:hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px dashed #00a0e9;
    border-left: 0;
    border-right: 0;
    cursor: move;
    z-index: 10;
}
.diy-phone .phone-main .btn-edit-del {
    height: 16px;
    position: absolute;
    right: 0;
    top:0;
    display: none;
    z-index: 90;
}
.diy-phone .phone-main .dd-item:hover  .btn-edit-del,
.diy-phone .phone-main .selected + .btn-edit-del{
    display: block;
}
.diy-phone .phone-main .drag+.btn-edit-del > div {
    width: 20px;
    height: 16px;
    line-height: 16px;
    display: inline-block;
    text-align: center;
    font-size: 10px;
    color: #337ab7;
    background: #fff;
    margin-left: 2px;
    cursor: pointer;
    position: relative;
    z-index: 11;
    float: left;
    border: 1px solid #337aba;
}
.diy-phone .phone-main .drag .btn-edit-del > div.btn-edit{
    display: none;
}


/* 元素和模板 */
.right-box{
    box-shadow: 0 0 30px #ccc;
    width: 300px;
    background: #f7f7f7;
}
.right-box .right-title{
    height: 50px;
    border-bottom: 1px solid #ccc;
}
.right-box .right-title .title-word{
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    line-height: 48px;
    border-bottom: 2px solid #f6f6f6;
    color: #666;
}
.right-box .right-title .title-word.active{
    border-bottom: 2px solid #428bca;
    color: #428bca;
}
.right-box .right-title .right-body{

}
.right-box .right-body ul{
    padding: 0;
    margin: 0;
}
.right-box .right-body ul li {
    list-style: none;
    width: calc(33.3% - 1px);
    height: 80px;
    float: left;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    cursor: move;
    text-align: center;
    padding-top: 20px;
    color: #707070;
    background: #f3f3f3;
}
.right-box .right-body ul li img{
    width: 40px;
    margin-bottom: 5px;
}
.right-box .right-body ul li:nth-child(3n){
    border-right: 0;
}
.right-box .right-template ul{
    padding: 0;
    margin: 0;
}
.right-box .right-template ul li{
    list-style: none;
    width: 128px;
    height: 180px;
    float: left;
    margin: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #f6f6f6;
    position: relative;
}
.right-box .right-template ul li .bottom-word{
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    text-align: center;
    color: #fff;
    line-height:20px;
    font-size: 12px;
    display: none;
}
.right-box .right-template ul li.choosed{
    text-align: center;
    line-height: 180px;
    font-size: 30px;
    color: green;
    background: rgba(255,255,255,.5);
    border: 1px solid #428bca;
}
.right-box .right-template ul li.choosed span{
    z-index: 9;
}
.right-box .right-template ul li.choosed .bottom-word{
    display: inline-block;
}

.right-box .right-template ul li:hover .bottom-word{
    display: inline-block;
}
.right-box .right-template ul li:hover {
    border: 1px solid #428bca;
}
.right-box .right-template ul li img{
    width: 100%;
    position: absolute;
    left: 0;
}


/*滚动条垂直方向的宽度*/
::-webkit-scrollbar
{
    width: 3px;
}
/* 垂直滚动条的滑动块 */
::-webkit-scrollbar-thumb:vertical {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color:rgba(129,129,129,0.5);
}
.input-left{
    font-weight: 100;
}
.input-right{
    width: 180px;
    height: 25px;
    margin-bottom: 10px;
    margin-left: 10px;
    border: 0;
    border-bottom: 1px solid #ccc;
    background: rgba(0,0,0,0);
}

.glyphicon-triangle-top{
     transition: all .5s;
}
.collapsed span.glyphicon-triangle-top{
    transform: rotate(0);
}
.panel-title{
    text-align: left;
}
.panel-title .glyphicon-triangle-top{
    transform: rotate(180deg);
    margin-right: 10px;
    font-size: 14px;
}
.edit-box{
    width: 350px;height: 200px;display: inline-block;background: #fff;min-height: 618px;margin-right: 20px;vertical-align: top;
    margin-top: 20px;position: relative;    box-shadow: 0px 0px 10px #ccc;
}

.edit-box{
    position: relative;
}
.jiao{
    position: absolute;
    right: -20px;
    top: 40px;
    border-top: 20px solid transparent;
    border-left:  20px solid #ccc;
    border-bottom: 20px solid transparent;
}
.jiao:after{
    position: absolute;
    right: 1px;
    top: -20px;
    content: '';
    border-top: 20px solid transparent;
    border-left:  20px solid #fff;
    border-bottom: 20px solid transparent;
}
.aitem{
    cursor: pointer;
}

/*   测试的   */

/* 搜索样式2  */
.serch_modle{
    width: 100%;
    background: #F0F0F0;
    height: 50px;
    padding-top: 15px;
}
.serch_center_modle{
    width: 80%;
    height: 30px;
    margin-left: 5%;
    float: left;
    background: white;
    border-radius: 100px;
}
.serch_center_modle_img{
    height: 25px;
    width: 25px;
    margin-top: 5px;
    margin-left: 10px;
    float: left;
}
.serch_center_modle_text{
    height: 28px;
    width: 80%;
    color: #8a8a8a;
    padding-left: 3%;
    font-size: 14px;
    float: left;
}
.serch_btn{
    width: 13%;
    padding: 0px;
    margin: 0px;
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    color: #8a8a8a;
    text-align: center;
    background: #F0F0F0;
    float: left;
    border: 0;
}
button::after {
    border: none;
}

.panel.panel-default{
    border:0;
    border-radius: 5px;
    overflow: hidden;
}
.panel-group .panel .panel-heading {
    background: #f7f7f7;
}
.panel-default>.panel-heading+.panel-collapse>.panel-body{
    background: #f7f7f7;
}
.panel-group .panel+.panel{
    margin-top: 15px;
}